package cn.xfdzx.android.apps.shop.contract;

import cn.xfdzx.android.apps.shop.base.BaseView;
import cn.xfdzx.android.apps.shop.bean.BankCardBeen;
import cn.xfdzx.android.apps.shop.bean.IdCardBeen;
import cn.xfdzx.android.apps.shop.bean.ShopInDetailsBeen;
import cn.xfdzx.android.apps.shop.bean.StoreAmountBean;
import io.reactivex.Flowable;


/**
 * @author azheng
 * @date 2018/6/4.
 * Description：
 */

public interface MyShopCenterContract {
    interface Model {
        Flowable<ShopInDetailsBeen> shop_in_details( );

        Flowable<StoreAmountBean> getStoreAmount(String store_id );

    }

    interface View extends BaseView {
        @Override
        void showLoading();

        @Override
        void hideLoading();

        @Override
        void onError(Throwable throwable);

        void onSuccess(ShopInDetailsBeen bean);

        void getStoreAmountSuccess(StoreAmountBean bean);
    }

    interface Presenter {

        void shop_in_details( );

        void getStoreAmount(String store_id );
    }
}
